home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 27
/
Mac Magazin and MacEasy Magazine CD - Issue 27.iso
/
Grafik & Text
/
SGMLTool Folder
/
TEXTBOOK.MWW
< prev
Wrap
Text File
|
1996-10-21
|
3KB
|
169 lines
!
! Mapping to WWW-Navigator
!
! Document Type is TEXTBOOK.DTD
!
! ver.1.2 (c)1996 KISI
!
! This map-info assumes the format of graphic data is the GIF.
! Set the value of $xgraphic if you use another format.
! ex. $xgraphic = 'jpg' ;
!
! Set a access path to the folder which have graphic data.
! ex. $xpath = 'MyDisk:MyFolder:' ;
!
! ----- STYLE -----
!
(TEXTBOOK
! Edit the following if another path and extension exist.
~ $xpath = './GraphicGIF/' ; $xgraphic = 'gif' ;
! Edit the following if you want another
~ $xfig = 'Fig.' ;
!
! for Japanese, Replace the following with above script.
! $xfig = 'ê}' ;
!
! for Escape Character
~ &DefineEscape('&', '&') ;
~ &DefineEscape('<', '<') ;
~ &DefineEscape('>', '>') ;
~ &Escape(1) ;
!
! for Deletion of Return-code(s) in Contents
~ &DeleteCr(1) ;
!
! for Heading Number Control
~ &Begin('H1') ;
!
\n<HTML>
)TEXTBOOK
~ &End('H1') ;
\n</BODY>
\n</HTML>
!
! ----- FRONT -----
!
(TLINE
~ &Hook('TLINE') ;
\n<HEAD>
\n<TITLE>
)TLINE
~ $xtline = &Data('TLINE') ;
\n</TITLE>
\n</HEAD>
\n<BODY BGCOLOR="FFFFFF">
\n<CENTER><FONT SIZE=+2 COLOR="FF0000">~$xtline~</FONT></CENTER>\n
(SUBTITLE
\n<CENTER><FONT SIZE=+1 COLOR="00FF00">
)SUBTITLE
<BR></FONT></CENTER>\n
(ABSTRACT
\n<FONT SIZE=+1 COLOR="0000FF"><P ALIGN=LEFT>
)ABSTRACT
<BR></FONT>\n
(AUTHOR
\n<P ALIGN=CENTER>
)AUTHOR
\n
(DATE
\n<P ALIGN=CENTER>
)DATE
\n
!
! ----- FIGURE -----
!
(FIG
~ $xfigid = &Refer('FIG','ID') ;
(ARTWORK
\n<CENTER>
<IMG SRC="~$xpath~~FILE~.~$xgraphic~">
)ARTWORK
\n</CENTER>
(FIGCAP
\n<P>
\n<CENTER>
\n~$xfig~~$xfigid~
)FIGCAP
\n</CENTER>
(FIGREF
~$xfig~~#FIG_REFID~
!
! ----- FOOTNOTE -----
!
(FN
\n<BR><A NAME="~ID~"><FONT COLOR="FF0000">(~#FN_ID~)</FONT></A>
(FNREF
<A HREF="#~REFID~"><FONT SIZE=-1><SUP>(~#FN_REFID~)</SUP></FONT></A>
!
! ----- HEADING -----
!
(H1
~ &Begin('H2') ;
~ $xh1num = &Value('NUMBER') ;
~ if ($xh1num eq '') { &Count('H1') ; $xh1num = &Number('H1') ; }
)H1
~ &End('H2') ;
(H1T
\n<H1><FONT COLOR="00FF00">~$xh1num~
)H1T
</FONT></H1>\n
(H2
~ &Begin('H3') ;
~ $xh2num = &Value('NUMBER') ;
~ if ($xh2num eq '') { &Count('H2') ; $xh2num = &Number('H1').'.'.&Number('H2') ; }
)H2
~ &End('H3') ;
(H2T
\n<H2><FONT COLOR="00FF00">~$xh2num~
)H2T
</FONT></H2>\n
(H3
~ &Begin('H4') ;
~ $xh3num = &Value('NUMBER') ;
~ if ($xh3num eq '') { &Count('H3') ; $xh3num = &Number('H1').'.'.&Number('H2').'.'.&Number('H3') ; }
)H3
~ &End('H4') ;
(H3T
\n<H3><FONT COLOR="00FF00">~$xh3num~
)H3T
</FONT></H3>\n
!
! ----- PARAGRAPH -----
!
(P
\n<P>
!
! ----- LISTING -----
!
(LI
\n<OL>
(IT
\n<LI>
)LI
\n</OL>
!
! ----- GROSSARY -----
!
(TERMS
\n<DL>
(DT
\n<DT>
(DD
\n<DD>
)TERMS
\n</DL>
!
! ----- ADDRESS -----
!
(ADR
\n<BR><P ALIGN=CENTER><FONT COLOR="FF0000">
)ADR
\n</FONT>
)L
<BR>\n
!
! ----- COMMENT -----
!
C
<!-- Designed by KISI (c)1996 -->